package com.ae.shield.common.enchantment.shieldSuffix;

public class LevelUp extends SuffixBase {
    public LevelUp() {
        super(new SuffixRate()
                .intensity(1.5f, 2)
                .piles(2f, 2));
    }

    @Override
    public float levelRate(int level, SuffixProperty property, float rate) {
        switch (property) {
            case INTENSITY:
                return rate + (level - 1f) * 0.75f;
            case PILES:
                return rate + (level - 1f) * 1.5f;
            default:
                return rate;
        }
    }
}
